package com.example.crm.dao;

import com.example.crm.pojo.Customer;

import java.sql.SQLException;
import java.util.List;

public interface ICustomerDAO {
    public int insert(Customer c) throws SQLException;

    public List<Customer> find() throws SQLException;

    public int delete(long custId) throws SQLException;

    public Customer findById(long custId) throws SQLException;

    public int update(Customer c) throws SQLException;
}
